FROM alpine:latest
LABEL maintainer="恐咖兵糖<0@ftls.xyz>"

ENV VERSION 0.1.0

WORKDIR /app
COPY build/axum-server .
COPY docker-entrypoint.sh  .
COPY data/ ./data/
RUN ls && pwd
RUN chmod +x docker-entrypoint.sh
VOLUME /app/data
EXPOSE 3000

ENTRYPOINT ["/app/docker-entrypoint.sh"]